package com.example.prison.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName car_management
 */
@TableName(value ="car_management")
@Data
public class CarManagement implements Serializable {
    /**
     * 车辆ID
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号", width = 20)
    @TableField(value = "car_number")
    private String carNumber;

    /**
     * 所属部门
     */
    @Excel(name = "所属部门", width = 20)
    @TableField(value = "car_depart")
    private String carDepart;

    /**
     * 车辆状态
     */
    @Excel(name = "车辆状态", width = 20)
    @TableField(value = "car_status")
    private String carStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
